<template>
  <div>
    我是GrandSon组件

    {{color}} --- {{ user.name}} ---- {{user.age}}
  </div>
</template>


<script>
  export default {
    inject:['color','user']
  }
</script>
